package com.spring.bean;

/**
 * @author SpringWang
 * @date 2021/6/2
 */
public class BeanWrapper {

    private Object instance;

    private Class<?> wrapperClass;

    public BeanWrapper(Object instance) {
        this.instance = instance;
        this.wrapperClass = instance.getClass();
    }

    public Object getInstance() {
        return instance;
    }

    public void setInstance(Object instance) {
        this.instance = instance;
    }

    public Class<?> getWrapperClass() {
        return wrapperClass;
    }

    public void setWrapperClass(Class<?> wrapperClass) {
        this.wrapperClass = wrapperClass;
    }
}
